package com.tao.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tao.entity.Help;
import com.tao.vo.ListDetailVo;
import com.tao.vo.ListVo;

import java.util.List;
import java.util.Map;
/**
 *
 * @author 张祎洋
 * @date 2023/5/27
 * @content :查询接口
 */

public interface ListService extends IService<Help> {
    //查询全部
    Map<String,Object> getHelpByHelpStatus(Integer pageNum, Integer pageSize, Long categoryId, String sort);
    //查询分类
    Map<String,Object> getHelpByHelpStatusAll(Integer pageNum, Integer pageSize, Long categoryId, String sort);
    //有偿无偿查询
    List<ListVo> getHelpByReward(Long hasReward);
    //搜索求助
    Map<String,Object> getHelpBySearch(Integer pageNum, Integer pageSize, Long categoryId, String sort,String filter);
    //求助详情查询
    ListDetailVo getHelpByDetail(Long id);




}
